<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <link rel="shortcut icon" th:href="@{/img/favicon.html}">

    <title>OTS后台管理系统</title>

    <!-- Bootstrap core CSS -->
    <link rel="stylesheet" type="text/css" th:href="@{/css/bootstrap.min.css}"/>
    <!--external css-->
    <link th:href="@{/assets/font-awesome/css/font-awesome.css}" rel="stylesheet"/>
    <!-- Custom styles for this template -->
    <link th:href="@{/css/style.css}" rel="stylesheet">
    <link th:href="@{/css/style-responsive.css}" rel="stylesheet"/>
    <link th:href="@{/css/validator/bootstrapValidator.min.css}" rel="stylesheet"/>


    <style type="text/css">
        h1 {
            text-align: center;
            color: white;
            margin-top: 100px;
        }
        h2{
            background: black;
        }
        button{
            background: #673AB7;
            color: white;
        }
    </style>
</head>

<body class="login-body">

<div class="container">

    <h1>Ontimeshow后台管理系统</h1>

    <form class="form-signin" action="../admin/doLogin" method="post">
        <h2 class="form-signin-heading">用户登录</h2>
        <div class="login-wrap">
            <input type="text" class="form-control" placeholder="用户名" name="username" autofocus>
            <input type="password" class="form-control" placeholder="密码" name="password">
            <span style="color: red" th:text="${msg}"></span>
            <button class="btn btn-lg btn-block" type="submit">登录</button>
        </div>
    </form>
</div>


<script th:src="@{/js/jquery.js}"></script>
<script th:src="@{/js/jquery.min.js}"></script>
<script type="text/javascript" th:src="@{/js/validator/bootstrapValidator.min.js}"></script>
<script type="text/javascript" th:src="@{/js/validator/zh_CN.js}"></script>


<script>

</script>
</body>
</html>


